/*
 * Copyright (c) 2021. Moses All Right Reserved
 */

package com.moses.design_patterns.builder.outside_buidler;


/**
 * @author Moses
 * @email shenhuohui@gmail.com
 * @date 2021/4/10 11:14
 */
public class Client {

    public static void main(String[] args) {
        // 外部builder模式与静态内部builder模式差不多，只不过把Builder类放在了外部
        Product product = new Builder().setProp1(34).setProp2(432).build();
    }
}
